<?php		




class NsiteScript extends ScriptBase{


	/**
	 * 构造函数，初始化插件
	 */
	public function __construct() {

	}


	public function test(){
		$nsite = n_api('nsite');
		// $arr = array('kword'=>array(
		// 						'libs'=>"5e9fac084bfafc863c87191f86fc6173,79a869890b136ef75010c558e07a48d9",
		// 						'used'=>true
		// 						)
		// 		);

		$scode = 'a7bd55f788efaeed';
		$pevent = 'kword';
		$data = array(39,11);
		var_dump($nsite->setFilterNrule($scode,$pevent,$data));
		var_dump($nsite->getFilterNrule($scode,$pevent));

	}


}